package com.ruoyi.business.domain;

import com.mybatisflex.annotation.*;
import lombok.*;
import javax.validation.constraints.*;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据实体 : 链表资产
 * @Author  : ljq
 * @Created : 2025/10/14
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table("t_chain")
public class Chain extends BaseEntity{

     
    @Id(keyType = KeyType.Auto)
    private Long id;
    
    /// 资产键
    @Size(min = 0, max = 100, message = "资产键长度不能超过100个字符")
    private String assetKey;
    
    /// 交易号
    @Size(min = 0, max = 100, message = "交易号长度不能超过100个字符")
    private String txId;
    
    /// 业务ID
    private Long businessId;
    
    /// 业务名称
    @Size(min = 0, max = 200, message = "业务名称长度不能超过200个字符")
    private String businessName;
    
    /// 备注
    @Size(min = 0, max = 100, message = "备注长度不能超过100个字符")
    private String comment;
    
    /// 附加内容
    @Size(min = 0, max = 1000, message = "附加内容长度不能超过1000个字符")
    private String other;
    
    /// 状态#
    @Size(min = 0, max = 1, message = "状态#长度不能超过1个字符")
    private String status;


}